﻿using System.Collections.Generic;
using System.Xml.Serialization;

namespace Wasion.HHU.Models
{
    [XmlRoot("NewDataSet")]
    public class AllSchemas
    {
        private List<XmlSchema> schemaList = new List<XmlSchema>();
        [XmlElement(ElementName = "T_Schema")]
        public List<XmlSchema> Schemas
        {
            get { return schemaList; }
            set { schemaList = value; }
        }
    }
    public class XmlSchema
    {
        public XmlSchema() { }

        [XmlAttribute("ID")]
        public string ID { get; set; }
        [XmlAttribute("SchName")]
        public string SchName { get; set; }
        [XmlAttribute("ModifiedBy")]
        public string ModifiedBy { get; set; }
        [XmlAttribute("DateModified")]
        public string DateModified { get; set; }
        [XmlAttribute("SchemaDesc")]
        public string SchemaDesc { get; set; }
        [XmlAttribute("SchType")]
        public int SchType { get; set; }
    }
}
